| Conditions | 2 | 
| Total Lines | 12 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 0 | ||
| 1 | /**  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Play a beep after wait seconds, stopping after length seconds.  | 
            ||
| 31 | */  | 
            ||
| 32 | /* istanbul ignore next */  | 
            ||
| 33 |   beepOnBeepOff(frequency: number, length: number, wait: number): void { | 
            ||
| 34 | const osc = this.ctx.createOscillator()  | 
            ||
| 35 | osc.type = 'square'  | 
            ||
| 36 | osc.frequency.value = frequency  | 
            ||
| 37 | osc.connect(this.gainNode)  | 
            ||
| 38 | osc.start(wait)  | 
            ||
| 39 | osc.stop(wait + length)  | 
            ||
| 40 | }  | 
            ||
| 44 |